<#macro select name list value="" class="" id="" isEmptyItem=true disabled=false>
<#if disabled>
<select id="${id!''}" name="${name!''}" class="chosen-select ${class!''}" disabled="disabled">
<#else>
<select id="${id!''}" name="${name!''}" class="chosen-select ${class!''}">
</#if>
    <#if isEmptyItem>
        <option value="">请选择...</option>
    </#if>
    <#list list as item>
        <#if value == item.value>
            <option value="${item.value}" selected="selected">${item.content}</option>
        <#else>
            <option value="${item.value}">${item.content}</option>
        </#if>
    </#list>
</select>
</#macro>
